//
//  WelcomeViewController.h
//  SecretRoom
//
//  Created by Sitdhibhong Laokok on 9/2/54 BE.
//  Copyright 2554 App Tree. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface WelcomeViewController : UITableViewController <UITextFieldDelegate> {
    UITextField *usernameField;
    UITextField *passwordField;
    
    NSString *username;
    NSString *password;
    
    UIActivityIndicatorView *activityIndicator;
    
    NSManagedObjectContext *context;
}

@property (nonatomic, retain) NSManagedObjectContext *context;

@property (nonatomic, retain) NSString *username;
@property (nonatomic, retain) NSString *password;

@property (nonatomic, retain) UITextField *usernameField;
@property (nonatomic, retain) UITextField *passwordField;

- (id)initWithManagedObjectContext:(NSManagedObjectContext *)context;
- (void)signUpButtonClicked:(id)sender;

@end